package com.caigou.service;

import com.caigou.bean.cms.entity.ArticleSpecialAnnotation;
import com.caigou.bean.cms.param.ArticleSpecialAnnotationDataParam;
import com.caigou.pojo.ArticleSpecialAnnotationData;

import java.util.List;

public interface ArticleSpecialAnnotationService {
    ArticleSpecialAnnotation saveArticleSpecialAnnotationData(String articleId, String title, String content);

    List<ArticleSpecialAnnotationData> loadArticleSpecialAnnotationData(String articleId);

    void deleteArticleSpecialAnnotation(Integer id);

    int deleteArticleSpecialAnnotationByArticleId(String articleId);

    void updateArticleSpecialAnnotationData(ArticleSpecialAnnotationDataParam item);
}
